3.138 \(\int \frac{x^8}{a+b x^3+c x^6} \, dx\)

Optimal. Leaf size=81 \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c^2 \sqrt{b^2-4 a c}}-\frac{b \log \left (a+b x^3+c x^6\right )}{6 c^2}+\frac{x^3}{3 c} \]

[Out]

x^3/(3*c) - ((b^2 - 2*a*c)*ArcTanh[(b + 2*c*x^3)/Sqrt[b^2 - 4*a*c]])/(3*c^2*Sqrt
[b^2 - 4*a*c]) - (b*Log[a + b*x^3 + c*x^6])/(6*c^2)

_______________________________________________________________________________________

Rubi [A]  time = 0.164693, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333 \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^3}{\sqrt{b^2-4 a c}}\right )}{3 c^2 \sqrt{b^2-4 a c}}-\frac{b \log \left (a+b x^3+c x^6\right )}{6 c^2}+\frac{x^3}{3 c} \]

Antiderivative was successfully verified.

[In]  Int[x^8/(a + b*x^3 + c*x^6),x]

[Out]

x^3/(3*c) - ((b^2 - 2*a*c)*ArcTanh[(b + 2*c*x^3)/Sqrt[b^2 - 4*a*c]])/(3*c^2*Sqrt
[b^2 - 4*a*c]) - (b*Log[a + b*x^3 + c*x^6])/(6*c^2)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 29.6385, size = 73, normalized size = 0.9 \[ - \frac{b \log{\left (a + b x^{3} + c x^{6} \right )}}{6 c^{2}} + \frac{x^{3}}{3 c} - \frac{\left (- 2 a c + b^{2}\right ) \operatorname{atanh}{\left (\frac{b + 2 c x^{3}}{\sqrt{- 4 a c + b^{2}}} \right )}}{3 c^{2} \sqrt{- 4 a c + b^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**8/(c*x**6+b*x**3+a),x)

[Out]

-b*log(a + b*x**3 + c*x**6)/(6*c**2) + x**3/(3*c) - (-2*a*c + b**2)*atanh((b + 2
*c*x**3)/sqrt(-4*a*c + b**2))/(3*c**2*sqrt(-4*a*c + b**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0940408, size = 78, normalized size = 0.96 \[ \frac{\frac{2 \left (b^2-2 a c\right ) \tan ^{-1}\left (\frac{b+2 c x^3}{\sqrt{4 a c-b^2}}\right )}{\sqrt{4 a c-b^2}}-b \log \left (a+b x^3+c x^6\right )+2 c x^3}{6 c^2} \]

Antiderivative was successfully verified.

[In]  Integrate[x^8/(a + b*x^3 + c*x^6),x]

[Out]

(2*c*x^3 + (2*(b^2 - 2*a*c)*ArcTan[(b + 2*c*x^3)/Sqrt[-b^2 + 4*a*c]])/Sqrt[-b^2
+ 4*a*c] - b*Log[a + b*x^3 + c*x^6])/(6*c^2)

_______________________________________________________________________________________

Maple [A]  time = 0.006, size = 111, normalized size = 1.4 \[{\frac{{x}^{3}}{3\,c}}-{\frac{b\ln \left ( c{x}^{6}+b{x}^{3}+a \right ) }{6\,{c}^{2}}}-{\frac{2\,a}{3\,c}\arctan \left ({(2\,c{x}^{3}+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}}+{\frac{{b}^{2}}{3\,{c}^{2}}\arctan \left ({(2\,c{x}^{3}+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^8/(c*x^6+b*x^3+a),x)

[Out]

1/3*x^3/c-1/6*b*ln(c*x^6+b*x^3+a)/c^2-2/3/c/(4*a*c-b^2)^(1/2)*arctan((2*c*x^3+b)
/(4*a*c-b^2)^(1/2))*a+1/3/c^2/(4*a*c-b^2)^(1/2)*arctan((2*c*x^3+b)/(4*a*c-b^2)^(
1/2))*b^2

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(c*x^6 + b*x^3 + a),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.275022, size = 1, normalized size = 0.01 \[ \left [-\frac{{\left (b^{2} - 2 \, a c\right )} \log \left (\frac{2 \,{\left (b^{2} c - 4 \, a c^{2}\right )} x^{3} + b^{3} - 4 \, a b c +{\left (2 \, c^{2} x^{6} + 2 \, b c x^{3} + b^{2} - 2 \, a c\right )} \sqrt{b^{2} - 4 \, a c}}{c x^{6} + b x^{3} + a}\right ) -{\left (2 \, c x^{3} - b \log \left (c x^{6} + b x^{3} + a\right )\right )} \sqrt{b^{2} - 4 \, a c}}{6 \, \sqrt{b^{2} - 4 \, a c} c^{2}}, \frac{2 \,{\left (b^{2} - 2 \, a c\right )} \arctan \left (-\frac{{\left (2 \, c x^{3} + b\right )} \sqrt{-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) +{\left (2 \, c x^{3} - b \log \left (c x^{6} + b x^{3} + a\right )\right )} \sqrt{-b^{2} + 4 \, a c}}{6 \, \sqrt{-b^{2} + 4 \, a c} c^{2}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(c*x^6 + b*x^3 + a),x, algorithm="fricas")

[Out]

[-1/6*((b^2 - 2*a*c)*log((2*(b^2*c - 4*a*c^2)*x^3 + b^3 - 4*a*b*c + (2*c^2*x^6 +
 2*b*c*x^3 + b^2 - 2*a*c)*sqrt(b^2 - 4*a*c))/(c*x^6 + b*x^3 + a)) - (2*c*x^3 - b
*log(c*x^6 + b*x^3 + a))*sqrt(b^2 - 4*a*c))/(sqrt(b^2 - 4*a*c)*c^2), 1/6*(2*(b^2
 - 2*a*c)*arctan(-(2*c*x^3 + b)*sqrt(-b^2 + 4*a*c)/(b^2 - 4*a*c)) + (2*c*x^3 - b
*log(c*x^6 + b*x^3 + a))*sqrt(-b^2 + 4*a*c))/(sqrt(-b^2 + 4*a*c)*c^2)]

_______________________________________________________________________________________

Sympy [A]  time = 8.01714, size = 316, normalized size = 3.9 \[ \left (- \frac{b}{6 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right ) \log{\left (x^{3} + \frac{- a b - 12 a c^{2} \left (- \frac{b}{6 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right ) + 3 b^{2} c \left (- \frac{b}{6 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \left (- \frac{b}{6 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right ) \log{\left (x^{3} + \frac{- a b - 12 a c^{2} \left (- \frac{b}{6 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right ) + 3 b^{2} c \left (- \frac{b}{6 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{6 c^{2} \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \frac{x^{3}}{3 c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**8/(c*x**6+b*x**3+a),x)

[Out]

(-b/(6*c**2) - sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(6*c**2*(4*a*c - b**2)))*log(x
**3 + (-a*b - 12*a*c**2*(-b/(6*c**2) - sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(6*c**
2*(4*a*c - b**2))) + 3*b**2*c*(-b/(6*c**2) - sqrt(-4*a*c + b**2)*(2*a*c - b**2)/
(6*c**2*(4*a*c - b**2))))/(2*a*c - b**2)) + (-b/(6*c**2) + sqrt(-4*a*c + b**2)*(
2*a*c - b**2)/(6*c**2*(4*a*c - b**2)))*log(x**3 + (-a*b - 12*a*c**2*(-b/(6*c**2)
 + sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(6*c**2*(4*a*c - b**2))) + 3*b**2*c*(-b/(6
*c**2) + sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(6*c**2*(4*a*c - b**2))))/(2*a*c - b
**2)) + x**3/(3*c)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.278579, size = 101, normalized size = 1.25 \[ \frac{x^{3}}{3 \, c} - \frac{b{\rm ln}\left (c x^{6} + b x^{3} + a\right )}{6 \, c^{2}} + \frac{{\left (b^{2} - 2 \, a c\right )} \arctan \left (\frac{2 \, c x^{3} + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{3 \, \sqrt{-b^{2} + 4 \, a c} c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(c*x^6 + b*x^3 + a),x, algorithm="giac")

[Out]

1/3*x^3/c - 1/6*b*ln(c*x^6 + b*x^3 + a)/c^2 + 1/3*(b^2 - 2*a*c)*arctan((2*c*x^3
+ b)/sqrt(-b^2 + 4*a*c))/(sqrt(-b^2 + 4*a*c)*c^2)